<template>
  <!-- element plus 全局语言配置 -->
  <el-config-provider :locale="locale">
    <layout-view/>
  </el-config-provider>
</template>
<script>
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import LayoutView from '@/components/layout/layout-view'
export default {
  components: { LayoutView },
  data () {
    return {
      locale: zhCn
    }
  }
}
</script>
<style>
h1,h2,h3,h4,h5,h6{
  padding: 0;
  margin: 0;
  color: #2c3e50;
}

h1{
  font-size: 21px;
}
h2{
  font-size: 20px;
}
h3{
  font-size: 19px;
}
h4,h5,h6{
  font-size: 18px;
}
*{
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
  'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}
body{
  margin: 0;
  padding: 0;
  background-color: #cfd8da;
}
.body{
  background-color: #fff;
  padding: 24px;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
.background-block{
  border-radius: 5px;
  padding: 8px;
  margin: 10px 0;
  background-color: #fafbfb;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
